package com.xique.park.service.biz.service;

import com.xique.park.bean.domain.ParkCar;
import com.xique.park.bean.domain.PayOrder;
import com.xique.park.bean.dto.ParkUserDTO;
import com.xique.park.bean.request.app.ParkCarAddRequest;
import com.xique.park.bean.request.app.ParkCarFeeRequest;
import com.xique.park.bean.request.web.car.ParkCarBatchFeeRequest;

import java.util.Date;
import java.util.List;

/**
 * 支付记录BizService
 */
public interface IPayOrderBizService {

    /**
     * 生成固定车续费记录
     *
     * @param request
     * @return
     */
    int generateFixedCarPayOrder(ParkCarFeeRequest request, ParkCar parkCar, Date beginDate);

    int generateFixedCarPayOrder(ParkCarAddRequest request, ParkCar parkCar);

    /**
     * 车辆
     *
     * @param request
     * @param parkCarList
     * @return
     */
    PayOrder generatePayOrderFromCar(ParkCarBatchFeeRequest request, List<ParkCar> parkCarList);

}
